package com.sy.service.allocate.impl;

import com.sy.bean.allocate.AllocateDetail;
import com.sy.common.crud.BaseServiceImpl;
import com.sy.mapper.allocate.AllocateDetailMapper;
import com.sy.service.allocate.AllocateDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AllocateDetailServiceImpl extends BaseServiceImpl<AllocateDetail, AllocateDetailMapper> implements AllocateDetailService {
    @Autowired
    AllocateDetailMapper allocateDetailMapper;

    @Override
    public int batchByDelete(List<Integer> ids) {
        return allocateDetailMapper.batchByDelete(ids);
    }
}
